package com.zzyk.main.model.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * id
 */
@Data
@TableName(value = "tb_group_user")
public class GroupUser {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 分组ID
     */
    @TableField(value = "`group`")
    private Integer group;

    /**
     * 用户ID
     */
    @TableField(value = "`user`")
    private Integer user;

    /**
     * 创建时间
     */
    @TableField(value = "createTime")
    private Date createTime;

    /**
     * 数据更新时间
     */
    @TableField(value = "updateTime")
    private Date updateTime;

    public static final String COL_ID = "id";

    public static final String COL_GROUP = "group";

    public static final String COL_USER = "user";

    public static final String COL_CREATETIME = "createTime";

    public static final String COL_UPDATETIME = "updateTime";
}